Skip to content

Conversation

Yuppymam
Copy link
Contributor

@Yuppymam Yuppymam commented Jan 13, 2025

  • featureテストにplaywrightを導入するテスト
  • 直接ドライバをダウンロードする方式で導入

ローカル環境での確認方法

  • 手元にnode環境を用意する
$ brew install nodenv 
$ nodenv install 20.18.1
$ nodenv global 20.18.1
  • Playwrightをセットアップする
$ bin/setup_playwright
$ npm install playwright
$ playwright install --with-deps chromium
  • featureテストを試す
$ rspec spec/features

@Yuppymam
Copy link
Contributor Author

  • 現状、coderdojo.jp のテストでは webdriver を使用していない
  • 高速なrackテストで十分なのでは?
  • 不安定なテストも存在しないため、移行作業自体不要と言えば不要
  • テスト実行には手元で node 環境が必要

上記の検証が完了したため、closeします🙏

@Yuppymam Yuppymam closed this Jan 21, 2025
@yasulab
Copy link
Member

yasulab commented Jan 22, 2025

早速の調査・検証ありがとうございます!!(>人< )✨

@yasulab yasulab deleted the test_playwright branch January 22, 2025 04:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants